﻿using System;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace FlickrXplorer.Web.ViewData
{
    /// <summary>
    /// Holds information about a comment.
    /// </summary>                        
    public class PhotoComment
    {
        /// <summary>
        /// Gets or sets the Id for the <see cref="FlickrXplorer.Web.ViewData.Photo" text="photo" />
        /// being discussed.
        /// </summary>                                                                             
        public string PhotoId { get; set; }
        /// <summary>
        /// Gets or sets the comment text.
        /// </summary>                    
        public string Text { get; set; }
        /// <summary>
        /// Gets or sets the author's username.
        /// </summary>                         
        public string Author { get; set; }
        /// <summary>
        /// Gets or sets a permalink to this comment.
        /// </summary>                               
        public string PermaLink { get; set; }
        /// <summary>
        /// Gets or sets the author's real name.
        /// </summary>                          
        public string AuthorName { get; set; }
        /// <summary>
        /// Id of the comment.
        /// </summary>
        public string Id { get; set; }
    }
}
